package com.yet.kotlinapp.entity

/**
 *
 * @ProjectName: Kotlin app
 * @Package: com.yet.kotlinapp.entity
 * @ClassName: LoginResponseInfo
 * @Description: java类作用描述
 * @Author: liys
 * @CreateDate: 2021/8/26 15:05
 * @UpdateUser: 更新者
 * @UpdateDate: 2021/8/26 15:05
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */


/**
 * 包装Bean

{
"data": {
"admin": false,
"chapterTops": [],
"collectIds": [],
"email": "",
"icon": "",
"id": 66720,
"nickname": "Derry-vip",
"password": "",
"publicName": "Derry-vip",
"token": "",
"type": 0,
"username": "Derry-vip"
},
"errorCode": 0,
"errorMsg": ""
}

{
"data": null,
"errorCode": -1,
"errorMsg": "账号密码不匹配！"
}

 */
data class LoginResponseInfo(
    val `data`: LoginData,
    val errorCode: Int,
    val errorMsg: String
)

data class LoginData(
    val admin: Boolean,
    val chapterTops: List<Any>,
    val collectIds: List<Any>,
    val email: String,
    val icon: String,
    val id: Int,
    val nickname: String,
    val password: String,
    val publicName: String,
    val token: String,
    val type: Int,
    val username: String
)

